package simu.testers;

import java.io.IOException;

import simu.nodes.APNode;
import simu.nodes.Node;


/**
 * Este tester ayuda a ver el uso de polimorfismo???
 * @author edwinfg
 *
 */
public class NodesTesters1 {

	public static void main(String[] args) throws IOException {
		
	Node myNode = new APNode(0);
	
	//myNode.startSensor("audio");
	System.out.println(myNode);
	
	APNode myAPNode = new APNode(1);
	System.out.println(myAPNode);
	
	myNode = myAPNode;
	
	
	System.out.println(myNode);
	System.out.println(myAPNode);
	
	
	}
	
	
}
